package com.xqls.dal.dao;

import java.util.List;
import java.util.Map;

import com.xqls.dal.model.Role;
import com.xqls.dal.model.RoleExample;

public interface RoleDao {
	boolean insertRecord(Role record);
	
	boolean updateRecord(Role record);
	
	boolean deleteRecord(String roleId);
	
	Role getLastRecord();
	
    List<Role> getListByExample(RoleExample example);
    
    List<Role> getListByMap(Map<String,Object> map);
}
